/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.gui;

/**
 *
 * @author moussa
 */
public class PanelModifierProjet extends javax.swing.JPanel {

    /**
     * Creates new form PanelModifierProjet
     */
    public PanelModifierProjet() {
        initComponents();
    }

   
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        labelNumero = new javax.swing.JLabel();
        textNumero = new javax.swing.JTextField();
        labelReference = new javax.swing.JLabel();
        textReference = new javax.swing.JTextField();
        jLabel1 = new javax.swing.JLabel();
        jScrollPane1 = new javax.swing.JScrollPane();
        textDescription = new javax.swing.JTextArea();
        labelUserCreate = new javax.swing.JLabel();
        textProjetNom = new javax.swing.JTextField();
        labelEtat = new javax.swing.JLabel();
        comboEtatProjet = new javax.swing.JComboBox();
        labelClient = new javax.swing.JLabel();
        projetNom = new javax.swing.JTextField();
        labelDateEcheance = new javax.swing.JLabel();
        projetDateDebut = new com.toedter.calendar.JDateChooser();
        labelDateDebut = new javax.swing.JLabel();
        projetDateDepouillement = new com.toedter.calendar.JDateChooser();
        labelDateDepouillement = new javax.swing.JLabel();
        projetDateEcheance = new com.toedter.calendar.JDateChooser();
        buttonValider = new javax.swing.JButton();
        buttonAnnuler = new javax.swing.JButton();
        

        setBackground(new java.awt.Color(223, 242, 255));
        setBorder(javax.swing.BorderFactory.createMatteBorder(1, 1, 1, 1, new java.awt.Color(123, 153, 255)));
        setMaximumSize(new java.awt.Dimension(1050, 375));
        setMinimumSize(new java.awt.Dimension(1050, 375));

        labelNumero.setFont(new java.awt.Font("Verdana", 3, 14)); // NOI18N
        labelNumero.setText("Numero :");

        textNumero.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTextField1ActionPerformed(evt);
            }
        });

        labelReference.setFont(new java.awt.Font("Verdana", 3, 14)); // NOI18N
        labelReference.setText("Reference :");

        jLabel1.setFont(new java.awt.Font("Verdana", 3, 14)); // NOI18N
        jLabel1.setText("Description :");

        textDescription.setColumns(20);
        textDescription.setRows(5);
        jScrollPane1.setViewportView(textDescription);

        labelUserCreate.setFont(new java.awt.Font("Verdana", 3, 14)); // NOI18N
        labelUserCreate.setText("User Create :");

        labelEtat.setFont(new java.awt.Font("Verdana", 3, 14)); // NOI18N
        labelEtat.setText("Etat :");

        comboEtatProjet.setFont(new java.awt.Font("Verdana", 3, 14)); // NOI18N
        comboEtatProjet.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "En Cours", "En Pause", "Fini", " " }));

        labelClient.setFont(new java.awt.Font("Verdana", 3, 14)); // NOI18N
        labelClient.setText("Client :");

        labelDateEcheance.setFont(new java.awt.Font("Verdana", 3, 14)); // NOI18N
        labelDateEcheance.setText("Date Echeance:");

        labelDateDebut.setFont(new java.awt.Font("Verdana", 3, 14)); // NOI18N
        labelDateDebut.setText("Date Debut :");

        labelDateDepouillement.setFont(new java.awt.Font("Verdana", 3, 14)); // NOI18N
        labelDateDepouillement.setText("Date Depouillement :");

        buttonValider.setFont(new java.awt.Font("Verdana", 3, 14)); // NOI18N
        buttonValider.setText("Valider");

        buttonAnnuler.setFont(new java.awt.Font("Verdana", 3, 14)); // NOI18N
        buttonAnnuler.setText("Annuler");

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(61, 61, 61)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(labelDateEcheance)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(projetDateDebut, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(labelNumero)
                            .addComponent(labelClient))
                        .addGap(53, 53, 53)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(textNumero, javax.swing.GroupLayout.PREFERRED_SIZE, 118, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(projetNom, javax.swing.GroupLayout.PREFERRED_SIZE, 118, javax.swing.GroupLayout.PREFERRED_SIZE))))
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGap(60, 60, 60)
                        .addComponent(labelEtat)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 57, Short.MAX_VALUE)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(labelDateDebut)
                            .addComponent(labelUserCreate))
                        .addGap(18, 18, 18)))
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(comboEtatProjet, javax.swing.GroupLayout.Alignment.TRAILING, 0, 123, Short.MAX_VALUE)
                    .addComponent(textProjetNom, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(projetDateDepouillement, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addGap(52, 52, 52)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(labelReference)
                        .addGap(80, 80, 80)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(textReference, javax.swing.GroupLayout.DEFAULT_SIZE, 129, Short.MAX_VALUE)
                            .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)))
                    .addComponent(jLabel1)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(labelDateDepouillement)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(projetDateEcheance, javax.swing.GroupLayout.DEFAULT_SIZE, 129, Short.MAX_VALUE)))
                .addGap(93, 93, 93))
            .addGroup(layout.createSequentialGroup()
                .addGap(307, 307, 307)
                .addComponent(buttonValider)
                .addGap(231, 231, 231)
                .addComponent(buttonAnnuler)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(44, 44, 44)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(labelNumero)
                    .addComponent(textNumero, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(labelReference)
                    .addComponent(textReference, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(labelEtat)
                    .addComponent(comboEtatProjet, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(64, 64, 64)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(textProjetNom, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLabel1)
                        .addComponent(labelUserCreate)
                        .addComponent(labelClient)
                        .addComponent(projetNom, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 66, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(21, 21, 21)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(labelDateEcheance)
                            .addComponent(projetDateDebut, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addComponent(labelDateDebut))
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(labelDateDepouillement)
                            .addComponent(projetDateDepouillement, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(projetDateEcheance, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(2, 2, 2)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 56, Short.MAX_VALUE)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(buttonValider)
                    .addComponent(buttonAnnuler))
                .addGap(49, 49, 49))
        );
    }// </editor-fold>//GEN-END:initComponents

    private void jTextField1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTextField1ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jTextField1ActionPerformed

    public javax.swing.JComboBox getComboEtatProjet() {
		return comboEtatProjet;
	}

	public void setComboEtatProjet(javax.swing.JComboBox comboEtatProjet) {
		this.comboEtatProjet = comboEtatProjet;
	}

	public com.toedter.calendar.JDateChooser getProjetDateDebut() {
		return projetDateDebut;
	}

	public void setProjetDateDebut(com.toedter.calendar.JDateChooser projetDateDebut) {
		this.projetDateDebut = projetDateDebut;
	}

	public com.toedter.calendar.JDateChooser getProjetDateDepouillement() {
		return projetDateDepouillement;
	}

	public void setProjetDateDepouillement(
			com.toedter.calendar.JDateChooser projetDateDepouillement) {
		this.projetDateDepouillement = projetDateDepouillement;
	}

	public com.toedter.calendar.JDateChooser getProjetDateEcheance() {
		return projetDateEcheance;
	}

	public void setProjetDateEcheance(
			com.toedter.calendar.JDateChooser projetDateEcheance) {
		this.projetDateEcheance = projetDateEcheance;
	}

	public javax.swing.JTextArea getTextDescription() {
		return textDescription;
	}

	public void setTextDescription(javax.swing.JTextArea textDescription) {
		this.textDescription = textDescription;
	}

	public javax.swing.JTextField getTextNumero() {
		return textNumero;
	}

	public void setTextNumero(javax.swing.JTextField textNumero) {
		this.textNumero = textNumero;
	}

	// Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton buttonAnnuler;
    private javax.swing.JButton buttonValider;
    private javax.swing.JComboBox comboEtatProjet;
    public javax.swing.JTextField getTextReference() {
		return textReference;
	}

	public void setTextReference(javax.swing.JTextField textReference) {
		this.textReference = textReference;
	}

	private com.toedter.calendar.JDateChooser projetDateDebut;
    private com.toedter.calendar.JDateChooser projetDateDepouillement;
    private com.toedter.calendar.JDateChooser projetDateEcheance;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JTextArea textDescription;
    private javax.swing.JTextField textNumero;
    private javax.swing.JTextField textReference;
    public javax.swing.JTextField getTextProjetNom() {
		return textProjetNom;
	}

	public void setTextProjetNom(javax.swing.JTextField textProjetNom) {
		this.textProjetNom = textProjetNom;
	}

	private javax.swing.JTextField textProjetNom;
    private javax.swing.JTextField projetNom;
    public javax.swing.JTextField getProjetNom() {
		return projetNom;
	}

	public void setProjetNom(javax.swing.JTextField projetNom) {
		this.projetNom = projetNom;
	}

	private javax.swing.JLabel labelClient;
    private javax.swing.JLabel labelDateDebut;
    private javax.swing.JLabel labelDateDepouillement;
    private javax.swing.JLabel labelDateEcheance;
    private javax.swing.JLabel labelEtat;
    private javax.swing.JLabel labelNumero;
    private javax.swing.JLabel labelReference;
    private javax.swing.JLabel labelUserCreate;
    
    // End of variables declaration//GEN-END:variables
}
